package com.meiyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.meiyou.pojo.User;
import com.meiyou.pojo.vo.UserVo;

public interface UserMapperCustom {
  
	int updateMeijin(User user);
	
	List<UserVo> selectAllInfo(UserVo userVo);
	
	@Select("select u_meijin from meiyou_user where u_count = #{uCount}")
    String selUserByUcount(String uCount);
	
	@Select("select u_payword from meiyou_user where u_count = #{uCount}")
	String selUserPayByUcount(String uCount);
	
	int updUserMeijin(double uMeijin,String uCount);
	
	//根据用户名查询美金
	
	Double selectMeijinByPhone(String phone);
}